
PHONY-gdb += gdb-uboot gdb-kernel

gdb-uboot: $(UB_ELF)
	$(EELQ)$(GDB_CMD) $(UB_ELF) \
		-ex "target remote localhost:1234"

gdb-kernel: $(KL_VMLINUX) $(KL_VMLINUX_GDB_PY)
	$(EELQ)\cd $(O_KL_DIR) \
		&& $(GDB_CMD) $(notdir $(KL_VMLINUX)) \
		-ex "target remote localhost:1234"
